package com.hotel.util;

public final class ResultCode {
	
	//========================全局请求返回状态标识开始=======================
	/**
	 * 操作成功
	 */
	public static final int OK = 1;
	/**
	 * 用户未登陆
	 */
	public static final int NOT_LOGIN= -1;
	/**
	 * 不能为空
	 */
	public static final int CAN_NOT_NULL = -2;
	/**
	 * 参数类型错误
	 */
	public static final int PARAMER_TYPE_ERROR = -3;
	/**
	 * 未知错误
	 */
	public static final int UNKNOW_ERROR = -4;
	/**
	 * 系统错误
	 */
	public static final int SYSTEM_ERROR = -5;
	/**
	 * access_token 错误
	 */
	public static final int ACCESS_TOKEN_ERROR = -6;
	/**
	 * 参数超长
	 */
	public static final int TOO_LANG = -7;
	/**
	 * 暂无数据
	 */
	public static final int NO_DATA = -8;
	/**
	 * 前端不需要处理的错误
	 */
	public static final int NOT_NEED_DEAL = -9;
	/**
	 * 不能重复签到
	 */
	public static final int HAS_SIGN_TODAY = -10;
	
	//========================全局请求返回状态标识结束=======================
	
	//========================接口返回状态标识开始==========================
	
	/**
	 * 错误的手机号格式
	 */
	public static final int NOT_TRUE_MOBILE = 100001;
	/**
	 * 验证码错误
	 */
	public static final int SMS_CODE_ERROR= 100002;
	/**
	 * 用户不存在
	 */
	public static final int USER_NOT_EXIST = 100003;
	/**
	 * 密码错误
	 */
	public static final int PASSWORD_ERROR = 100004;
	/**
	 * appid或secret错误
	 */
	public static final int TOKEN_USER_NOT_VALID = 100005;
	/**
	 * 原始密码错误
	 */
	public static final int OLD_PASSWORD_ERROR = 100006;
	/**
	 * 系统密码错误
	 */
	public static final int  SYSTEM_PASSWORD_ERROR = 100007;
	/**
	 * 图形验证码错误
	 */
	public static final int  PIC_VERIFICATION_ERROR = 100008;
	/**
	 * 购买数量<=0
	 */
	public static final int  AMOUNT_NOT_LESS_THAN_ZERO = 100009;
	
	/**
	 * 不满足升级条件
	 */
	public static final int  DISSATISFY_UPGRADE_CONDITION = 100010;
	
	/**
	 * 手机号已经注册
	 */
	public static final int MOBILE_IS_REGIST = 100011;
	/**
	 * 手机号未注册
	 */
	public static final int MOBILE_ISNOT_REGIST = 100012;
	/**
	 * 已经达到最高等级
	 */
	public static final int HAVE_BEAN_HIGHEST_LEVEL = 100013;
	/**
	 * 房间已经被订完了
	 */
	public static final int NOT_ENOUGH_ROOM = 100014;
	
	/**
	 * 活动尚未开始
	 */
	public static final int ACTIVITY_NOT_START = 100015;
	
	
	/**
	 * 原密码和新密码相同
	 */
	public static final int PASSWORD_SAME = 100016;
	/**
	 * 当前认证信息正在审核中，不能重复提交
	 */
	public static final int IS_CHECKING = 100017;
	
	/**
	 * 今天不是你的生日
	 */
	public static final int NOT_YOUR_BIRTHDAY = 100018;

	/**
	 * 参数被篡改
	 */
	public static final int PARAM_IS_TAMPER = 100019;
	
	/**
	 * 已经获取过生日积分
	 */
	public static final int HAS_TAKEN_BIRTHDAY_SCORE = 100020;

	/**
	 * 入住后才能建议
	 */
	public static final int CAN_NOT_SUGGEST = 100021;
	
	/**
	 * 活动开始前倒计时
	 */
	public static final int TIME_TO_START_ACTIVITY = 100022;
	
	/**
	 * 实际支付金额不能为负数
	 */
	public static final int CAN_NOT_BE_NEGATIVE_NUMBER = 100023;
	
	
	/**
	 * 本次活动已经结束
	 */
	public static final int ACTIVITY_HAS_FINISHED = 100024;
	/**
	 * 时间小于0
	 */
	public static final int TIME_LESS_THAN_ZERO = 100025;
	/**
	 * 价格小于0
	 */
	public static final int PRICE_LESS_THAN_ZERO = 100026;
	/**
	 * 价格没有大于0
	 */
	public static final int PRICE_NOT_MORE_THAN_ZERO = 100027;
	/**
	 * 已经收藏过了
	 */
	public static final int IS_COLLECTED = 100028;
	/**
	 * 不是图片文件
	 */
	public static final int IS_NOT_PIC = 100029;
	/**
	 * 图片比例错误
	 */
	public static final int PIXEL_RATIO_EXCEPTION = 100030;
	/**
	 * 姓名为空
	 */
	public static final int NAME_IS_NULL = 100031;
	/**
	 * 该订单已经被评价过了
	 */
	public static final int HAS_ASSESS = 100032;
	/**
	 * 订单评价成功
	 */
	public static final int ASSESS_SUCCESS = 100033;
	
	/**
	 * 上传文件过大
	 */
	public static final int TOO_BIG_SIZE = 100034;

	/**
	 * 订单不存在
	 */
	public static final int ORDER_IS_NOT_EXIST = 100036;
	/**
	 * 每页显示条数参数错误
	 */
	public static final int PAGESIZE_ERROR = 100037;
	
	/**
	 * 图片格式不对
	 */
	public static final int WRONG_PIC_FORMAT = 100038;
	
	
	/**
	 * 订单状态错误
	 */
	public static final int ORDER_IS_FALSE = 100039;
	
	/**
	 * 订单已经失效了
	 */
	public static final int ORDER_IS_INVALID = 100040;
	
	/**
	 * 未绑定
	 */
	public static final int NOT_BIND = 100042;
	/**
	 * 未支付成功
	 */
	public static final int NOT_PAY = 100043;
	/**	
	 * 预支付订单失败
	 */
	public static final int PAY_ERROR = 100045;
	/**	
	 * 上传文件格式不正确
	 */
	public static final int FORMAT_IS_FALSE = 100046;
	
	
	
	//========================接口返回状态标识结束==========================
	
	

}
